<?php
/* Smarty version 3.1.29, created on 2016-08-05 13:14:33
  from "C:\wamp\china\Admin\View\Car\updateCar.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_57a420b96465e5_78174393',
  'file_dependency' => 
  array (
    '564c9ae5a3f854dfc7896d7eebe9dfa84115689c' => 
    array (
      0 => 'C:\\wamp\\china\\Admin\\View\\Car\\updateCar.html',
      1 => 1470373997,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_57a420b96465e5_78174393 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once 'C:\\wamp\\ThinkPHP\\Library\\Vendor\\smarty\\plugins\\modifier.date_format.php';
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/table.head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>

<?php echo '<script'; ?>
>

    $(function(){

        $('.skin-color').click(function(){

            $('head').append("<link id='skinstyle' rel='stylesheet' href='__PUBLIC__/Admin/tpl/css/style."+$(this).attr('href')+".css' type='text/css' />");   

            $.post('__URL__/changecolor',{'color':$(this).attr('href')},function(data){
                // alert(data);
                        
            });
            return false;
        });
    });

<?php echo '</script'; ?>
>
<body onload = "startTime();">

<div class="mainwrapper">
    
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/menu.body.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>

    
    <!-- START OF RIGHT PANEL -->
    <div class="rightpanel">
        <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/users.body.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
<!--右边头部-->
        <div class="breadcrumbwidget">
            <ul class="skins">
                <li><a href="default" class="skin-color default"></a></li>
                <li><a href="orange" class="skin-color orange"></a></li>
                <li><a href="dark" class="skin-color dark"></a></li>
                <li>&nbsp;</li>
                <li class="fixed"><a href="" class="skin-layout fixed"></a></li>
                <li class="wide"><a href="" class="skin-layout wide"></a></li>
            </ul><!--skins-->
            <ul class="breadcrumb">
                <li><a href="__APP__/Index/main">Home</a> <span class="divider">/</span></li>
                <li><a href="#">车辆管理</a> <span class="divider">/</span></li>
                <li class="active">修改车辆</li>
            </ul>
        </div><!--breadcrumbs-->
        <div class="pagetitle">
            <h1>修改车辆</h1> <span>用来修改车辆信息</span>
        </div><!--pagetitle-->
        
        <div class="maincontent">
            <div class="contentinner">
            
                <h4 class="widgettitle">修改车辆</h4>
                <form class="form-horizontal" id="form-validate" action="__APP__/Foods/up" method="post" enctype="multipart/form-data" />
                    <table id="datatables" class="table table-bordered table-striped responsive">
                              <tr>
                                <td rowspan='7'></td>
                                <td width="42%" rowspan="7" style="border-left:0px;">
                                <img src="/Public/Upload/<?php echo $_smarty_tpl->tpl_vars['carInfo']->value['pic'];?>
" width="400" height='300'/>
                                </td>
                                <th width="17%">名称</th>
                                <td width="41%">
                                  <input type="hidden" name="car_id" value="<?php echo $_smarty_tpl->tpl_vars['carInfo']->value['car_id'];?>
" />
                                  <input type="text" name='name'  class="grd-white" value="<?php echo $_smarty_tpl->tpl_vars['carInfo']->value['name'];?>
"/>
                                </td>
                              </tr>
                              <tr>
                                <th>上传</th>
                                <td><input type="file" class="grd-white" name="pic" id="pic" /></td>
                              </tr>
                              <tr>
                                  <th>价格</th>
                                  <td>
                                  <input type="text" name='price' class="grd-white" value="<?php echo $_smarty_tpl->tpl_vars['carInfo']->value['price'];?>
"/>
                                  </td>
                            </tr>
                            <tr>
                                  <th>上架时间</th>
                                  <td><?php ob_start();
echo $_smarty_tpl->tpl_vars['carInfo']->value['add_time'];
$_tmp1=ob_get_clean();
echo date(smarty_modifier_date_format($_tmp1,"%Y/%m/%d"));?>
</td>
                             </tr>
                          
                            <tr height='100' class="describe">
                                  <th height="50" >车辆描述</th>
                                  <td colspan="3">
                                    <textarea name='describe' cols='93' rows='5' style="height:100px;width:98%; resize:none;" /><?php echo $_smarty_tpl->tpl_vars['carInfo']->value['describe'];?>
</textarea>
                                  </td>
                            </tr>
                            <tr>
                                  <td height="50" colspan="4" >
                                        <button type="submit" class="btn btn-primary">修改</button>
                                  </td>
                            </tr>
                        </tbody>
                    </table>
                    </form>     
                
               <!--  <div class="divider15"></div>
               
               <pre class="prettyprint linenums">//Include this script in your document &lt;head&gt;
               &lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.dataTables.min.js&quot;&gt;&lt;/script&gt;</pre>
               
               <div class="divider15"></div>
               
               <pre class="prettyprint linenums">// dynamic table<br>jQuery('#dyntable').dataTable({
                  &quot;sPaginationType&quot;: &quot;full_numbers&quot;,
                  &quot;aaSortingFixed&quot;: [[0,'asc']],
                  &quot;fnDrawCallback&quot;: function(oSettings) {
                     jQuery.uniform.update();
                  }<br>});<br></pre>
                  
                                <div class="divider15"></div>
                  
                                <pre class="prettyprint linenums">&lt;table class=&quot;table table-bordered&quot; id=&quot;dyntable&quot;&gt;</pre> -->
                
                
            </div><!--contentinner-->
        </div><!--maincontent-->
        
    </div><!--mainright-->
    <!-- END OF RIGHT PANEL -->
    
    <div class="clearfix"></div>
    
    <div class="footer">
        <div class="footerleft">快达租赁管理 v1.0</div>
      <div class="footerright">&copy; twen_Yee </div>
    </div><!--footer-->
    
</div><!--mainwrapper-->

</body>
</html><?php }
}
